package com.yyt.guavademo.eventbus;

import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;
import com.yyt.guavademo.model.User;

/**
 * @author yeyangtao
 * @since 2022/7/21 16:30
 */
public class Consumer {
    @Subscribe
    public void ff(User args) {
        System.out.println("ff：" + args);
    }

    @Subscribe
    public void ff1(DeadEvent args) {
        System.out.println("ff：" + args);
    }
}
